package vip.sweet.sys.modular.department.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import vip.sweet.common.entity.CommonEntity;

/**
 * @author ASUS
 * @Date 2025/4/8 10:55
 * @Descripition
 */
@EqualsAndHashCode(callSuper = true)
@Schema(description = "部门实体类")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("sys_department")
public class Department extends CommonEntity {
    @Schema(description = "部门名称")
    private String name;
    @Schema(description = "部门编码")
    private String code;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "父级id")
    private String parentId;
}
